<?php if ( ! defined('ABSPATH')) exit('restricted access');



/** Backend settings for symptom checker */

// @TODO: Add validation support

$options = array();

//printr($this->custom_query('primarysp'));exit;

$__primaysp = explode(',', implode(',', $this->custom_query('primarysp')));

//printr($__primaysp);



/** Find a doctor fields */

$options['spacialities'] = array(

							'label'=>__('Specialities', $this->text_domain),

							'type'=>'dropdown',

							'value' => array_combine($__primaysp, $__primaysp),

							'std'=>'',

							'attrs'=>array('class'=>'dropbox'),

							'validation'=>'trim',

							'info'=>__('Certifications details', $this->text_domain));

							

$options['city'] = array(

							'label'=>__('City', $this->text_domain),

							'type'=>'dropdown',

							'value' => $this->custom_query('city'),

							'std'=>'',

							'attrs'=>array('class'=>'dropbox'),

							'validation'=>'trim',

							'info'=>__('Certifications details', $this->text_domain));

							

$options['state'] = array(

							'label'=>__('State', $this->text_domain),

							'type'=>'dropdown',

							'value' => $this->custom_query('state'),

							'std'=>'',

							'attrs'=>array('class'=>'dropbox'),

							'validation'=>'trim',

							'info'=>__('Certifications details', $this->text_domain));

							

$options['rating'] = array(

							'label'=>__('Rating', $this->text_domain),

							'type'=>'dropdown',

							'value' => $this->custom_query('rating'),

							'std'=>'',

							'attrs'=>array('class'=>'dropbox'),

							'validation'=>'trim',

							'info'=>__('Certifications details', $this->text_domain));